package com.lisen.common;

public class Constant {
	public static final String ENCODING = "UTF-8";// 全局编码
	public static int TIME_OUT_INTERVAL = 5;// 文件过期时长,单位：天
	// public static String REPORT_PATTERN_PATH = "REPORT_PATTERN_PATH";//
	// 报表模板存放路径
	public static String DEFAULT_VALUE = "";// 默认值
	public static final String CONTENT_TYPE_SIMPLE = "application/x-msdownload;charset=UTF-8";
	public static final String CONTENT_TYPE_EXCEL = "application/vnd.ms-excel;charset=UTF-8";
	public static final String CONTENT_TYPE_WROD = "aapplication/msword;charset=UTF-8";
	public static int UPLOAD_BUFFER_SIZE = 1024 * 1024;// 缓冲大小
	public static int UPLOAD_MAX_SIZE_M = 20;// 最大文件
	public static int UPLOAD_MAX_SIZE = 1024 * 1024 * UPLOAD_MAX_SIZE_M;// 最大文件
	public static final String UPLOAD_MAX_SIZE_NAME = "UPLOAD_MAX_SIZE";
	public static String UPLOAD_FILE_PATH = "UPLOAD_PATH";// 上传文件保存路径
	public static String UPLOAD_FILE_MAXSIZE = "UPLOAD_MAXSIZE";// 上传文件最大大小
	public static String SYS_TEM_DIR = System.getProperty("java.io.tmpdir");
	public static String SYS_FILE_SEPARATOR = System
			.getProperty("file.separator");
	public static String LOG_FILE;
	public static String SYS_DIR = System.getProperty("user.dir");
	public static String SYS_WEB_DIR;// 在BaseServlet中初始化
}
